package cn.fourhundredandeighteen.service;

import cn.fourhundredandeighteen.entity.Course;
import cn.fourhundredandeighteen.entity.Score;

import java.util.List;

/**
 * @description:课程
 * @author: liuyongqi
 * @time: 2020/12/15
 */
public interface CourseService {
    List<Course> sleectCourse(List<Long> courseId);
    List<Course> selectCourse(Long studentId);

    int upCourse(Course course);

    List<Course> getCourseAll();

    int delCourse(Long courseId);

    int setCourse(Course course);

    Score select(Long studentId,Long courseId);

    int setScore(Score score);

    int cancelCourse(Long studentId ,Long courseId);
    Course getCourse(Long courseId);

    Score checkScore(Long studentId ,Long courseId);

    int upScore(Score score);
}
